<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title> MAGNETO Admin Skin</title>
	[#include "/commons/defaultHead.ftl"/]
	
	<script type="text/javascript" src="${jsDir}/budgetcalc/project.js"></script>
	
</head>
<body>
	
<div id="content">
<div class="column full">
		<div class="box width100 fl"> 
		<h2 class="box-header">项目管理(单位：元)</h2>
		<div class="box-content">
			<div class="search-box">
				<form id="searchForm">
				<label for="searchProjectName">项目：</label>
				<input id="searchProjectName" name="name" class="form-field small" style="width: 120px" type="text" value="">
				&nbsp;&nbsp;&nbsp;&nbsp;
				<label for="searchProjectType">类型：</label>
				<select id="searchProjectType" name="type" style="width: 100px">
					<option value="">-请选择-</option>
					<option value="1">预算</option>
					<option value="2">核算</option>
				</select>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<label for="startTime"> 日期: </label>
				<input id="startTime" name="startTime" class="form-field datepicker" type="text"/>
				<label for="endTiem"> 至: </label>
				<input id="endTiem" name="endTiem" class="form-field datepicker" type="text"/>
				
				<div class="search-box-button">
					<a id="searchButton" class="button themed"><span class="icon_text pack_white _10"></span>搜索</a>
					<a id="clearButton" class="button red"><span class="icon_text pack_white _5"></span>清空</a>
				</div>
				</form>
				 
			</div>
			
			<div class="toolbar">
			<a id="add" class="button white"><span class="icon_text addnew"></span>新增项目</a>
			<a id="update" class="button white"><span class="icon_text edit"></span>修改项目</a>
			<a id="delete" class="button white"><span class="icon_text cancel"></span>删除项目</a>
			</div>
			
			<table id="dataGird" style="display: none"></table>
		</div>
		</div>
		
		<div class="box-content">
		<div id="projectDialog" class="dialog" title="新增项目(单位：元)">
				<form id="projectForm" method="get">
					<table class="width100">
					<tr>
					<td style="width:15%" valign="top"><label class="form-label"> 项目名称： </label></td>
					<td colspan="3" style="width:85%">
						<textarea id="name" class="form-field" style="width:92%;height: 50px;" name="name" cols="" rows=""></textarea>
					</td>
					</tr>
					<tr>
					<td style="width:15%"><label class="form-label"> 控制类型： </label></td>
					<td style="width:35%">
						<div id="type" class="radiocheck">
						<input id="type1" type="radio" value="1" name="type"/><label for="type1">预算</label>
						<input id="type2" type="radio" value="2" name="type"/><label for="type2">核算</label>
						</div>
					</td>
					<td><label class="form-label"> 总产值： </label></td>
					<td><input id="totalValue"  name="totalValue" class="form-field currency-type" maxlength="20"/>(元)</td>
					</tr>
					<tr>
					<td><label class="form-label"> 已完成： </label></td>
				 	<td><input id="completedValue" maxlength="3" name="completedValue" class="form-field currency-type" maxlength="20"/>%</td>
				 	<td><label class="form-label"> 预核算完成额： </label></td>
					<td><input id="budgetcalcCplValue" name="budgetcalcCplValue" readonly="readonly" class="form-field currency-type" maxlength="16"/>(元)</td>
					</tr>
					
					</table>
					<br/>
					
					<div class="fr">
						<button id="resetBtn" type="button" class="button red" />重置</button>
						<button id="submitBtn" type="button" class="button themed" />确认提交</button>
						<button id="cancelBtn" type="button" class="button themed" />取消</button>
					</div>
				</form>
				
				</div>
				
				<div id="dialogConfirm" title="删除用户">
					<p><span  class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0; font-size:14px"></span></p>
				</div>
		</div>
		
		<div class="clear"></div>
</div> 
</div> 
</body>
</html>